package com.free.food.order.domain.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 类功能描述：
 *
 * @author：刘富国
 * @createTime：2019/2/21 11:25
 */
@Data
public class CartDTO {

    @JsonProperty("productId")
    private String productId;
    @JsonProperty("productQuantity")
    private Integer productQuantity;

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }

    public CartDTO() {
    }
}
